gpsbabel.git
12 years agoReconcile merge conflicts from before. Oops.
robertlipe [Mon, 5 Aug 2013 03:02:23 +0000 (03:02 +0000)]
Reconcile merge conflicts from before.  Oops.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4507 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAdd new humminbird v3 format.
robertlipe [Mon, 5 Aug 2013 02:59:01 +0000 (02:59 +0000)]
Add new humminbird v3 format.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4506 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix memory leaks in ozi reader.
tsteven4 [Mon, 5 Aug 2013 01:07:12 +0000 (01:07 +0000)]
fix memory leaks in ozi reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4505 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix memory leak in strip_html().
tsteven4 [Sun, 4 Aug 2013 23:01:55 +0000 (23:01 +0000)]
fix memory leak in strip_html().

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4504 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix memory leak in kml reader.
tsteven4 [Sun, 4 Aug 2013 20:11:02 +0000 (20:11 +0000)]
fix memory leak in kml reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4503 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix memory leak in gdb.
tsteven4 [Sat, 3 Aug 2013 20:10:54 +0000 (20:10 +0000)]
fix memory leak in gdb.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4502 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agobe more defensive with deallocation of dynamic memory in tpo.
tsteven4 [Sat, 3 Aug 2013 11:10:37 +0000 (11:10 +0000)]
be more defensive with deallocation of dynamic memory in tpo.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4501 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix segmentation fault if tpo reads multiple input files.
tsteven4 [Sat, 3 Aug 2013 00:18:37 +0000 (00:18 +0000)]
fix segmentation fault if tpo reads multiple input files.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4500 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix tpo memory leaks.
tsteven4 [Fri, 2 Aug 2013 13:01:13 +0000 (13:01 +0000)]
fix tpo memory leaks.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4499 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoHush GCC warning on implicit time_t conversion.
robertlipe [Thu, 1 Aug 2013 17:07:50 +0000 (17:07 +0000)]
Hush GCC warning on implicit time_t conversion.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4498 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix for the garmin_fit fix in r4494.
tsteven4 [Thu, 1 Aug 2013 11:32:20 +0000 (11:32 +0000)]
fix for the garmin_fit fix in r4494.
if multiple garmin_fit files were read memory could have been freed twice.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4497 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoHush "unable to convert category FOO" warnings from GPX reader on Garmin
robertlipe [Thu, 1 Aug 2013 04:27:27 +0000 (04:27 +0000)]
Hush "unable to convert category FOO" warnings from GPX reader on Garmin
extension.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4496 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoLet xml_parse_time take a QString&.
robertlipe [Thu, 1 Aug 2013 04:02:54 +0000 (04:02 +0000)]
Let xml_parse_time take a QString&.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4495 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix memory leak in garmin_fit.
tsteven4 [Thu, 1 Aug 2013 03:59:09 +0000 (03:59 +0000)]
fix memory leak in garmin_fit.
Also fix an error in the mask for local messsage type.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4494 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix some memory leaks in csv_util.
tsteven4 [Thu, 1 Aug 2013 01:38:56 +0000 (01:38 +0000)]
Fix some memory leaks in csv_util.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4493 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoTrailing whitespace cleanup.
robertlipe [Thu, 1 Aug 2013 00:29:55 +0000 (00:29 +0000)]
Trailing whitespace cleanup.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4492 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWhack two unused functions from util.
robertlipe [Wed, 31 Jul 2013 17:35:45 +0000 (17:35 +0000)]
Whack two unused functions from util.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4491 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAdd a -l option to vtesto to run memory leak mode so I don't have to remember
robertlipe [Wed, 31 Jul 2013 17:06:46 +0000 (17:06 +0000)]
Add a -l option to vtesto to run memory leak mode so I don't have to remember
the valgrind syntax each time.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4490 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoIgnore unknown field in Garmin fit from ForeRunner 110; don't dcheck that it's zero.
robertlipe [Tue, 30 Jul 2013 16:58:13 +0000 (16:58 +0000)]
Ignore unknown field in Garmin fit from ForeRunner 110; don't dcheck that it's zero.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4489 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoregenerate dependencies.
tsteven4@gmail.com [Mon, 29 Jul 2013 13:45:35 +0000 (13:45 +0000)]
regenerate dependencies.
r4479 turned jeeps/../gbtypes.h into jeeps/..
additionally a few dependencies changed at some time for xmlgeneric, xmlstreamwriter, mapbar_track.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4488 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoclean up some unused variables as of r4478 in mapasia.
tsteven4 [Mon, 29 Jul 2013 12:48:33 +0000 (12:48 +0000)]
clean up some unused variables as of r4478 in mapasia.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4487 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCompile fix for CentOS.
robertlipe [Mon, 29 Jul 2013 06:35:43 +0000 (06:35 +0000)]
Compile fix for CentOS.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4486 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSpiff up xmlgeneric enough to work with wfff, but needs rething on attributes.
robertlipe [Mon, 29 Jul 2013 04:41:33 +0000 (04:41 +0000)]
Spiff up xmlgeneric enough to work with wfff, but needs rething on attributes.
Teaching callers about qxmlstreamattributes may be "better" than shimming this
to QStrings.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4485 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSketch in extremely crude xmlgeneric reader. Turned off for now.
robertlipe [Mon, 29 Jul 2013 03:55:50 +0000 (03:55 +0000)]
Sketch in extremely crude xmlgeneric reader.  Turned off for now.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4484 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWhack scraggling reference to gbtypes.h
robertlipe [Mon, 29 Jul 2013 02:29:05 +0000 (02:29 +0000)]
Whack scraggling reference to gbtypes.h

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4483 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoEnumerate headers in QT Project file (so search and replaces like I just
robertlipe [Mon, 29 Jul 2013 02:12:31 +0000 (02:12 +0000)]
Enumerate headers in QT Project file (so search and replaces like I just
did will actually work sensibly...)

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4482 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove badly encoded comment in alan.cc
robertlipe [Mon, 29 Jul 2013 01:53:51 +0000 (01:53 +0000)]
Remove badly encoded comment in alan.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4481 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSee if I can get away with a hand edit in a vxcproj to eliminate use of gbtypes.h
robertlipe [Mon, 29 Jul 2013 01:50:43 +0000 (01:50 +0000)]
See if I can get away with a hand edit in a vxcproj to eliminate use of gbtypes.h

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4480 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agogbtypes.h was a good idea in the pre-C99 world (and clearly heavily inspired
robertlipe [Mon, 29 Jul 2013 01:49:41 +0000 (01:49 +0000)]
gbtypes.h was a good idea in the pre-C99 world (and clearly heavily inspired
by it), but it's not needed in C++ times. Search and replace it away.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4479 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoClean up some of the more mechanical uses of time_t and implicit conversions.
robertlipe [Mon, 29 Jul 2013 00:23:34 +0000 (00:23 +0000)]
Clean up some of the more mechanical uses of time_t and implicit conversions.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4478 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove some of our stranger time shims.
robertlipe [Fri, 26 Jul 2013 03:16:29 +0000 (03:16 +0000)]
Remove some of our stranger time shims.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4477 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWhittle away at more implicit time_t conversions. In some cases, I'm just
robertlipe [Thu, 25 Jul 2013 20:43:47 +0000 (20:43 +0000)]
Whittle away at more implicit time_t conversions.  In some cases, I'm just
moving the problem around, but these are all relatively obscure formats
anyway and pre-1970 times aren't that important for them anyway.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4476 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGPSBabel.pro Windows fixes from Gerhard.
robertlipe [Wed, 24 Jul 2013 21:50:43 +0000 (21:50 +0000)]
GPSBabel.pro Windows fixes from Gerhard.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4475 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoApply Steven's fix for trackfilter names since I clearly can't get it right.
robertlipe [Wed, 24 Jul 2013 03:05:13 +0000 (03:05 +0000)]
Apply Steven's fix for trackfilter names since I clearly can't get it right.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4474 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRoll back part of previous change. This should be a local time.
robertlipe [Wed, 24 Jul 2013 02:31:23 +0000 (02:31 +0000)]
Roll back part of previous change.  This should be a local time.
Tested with a variety of TZ values and seems OK now.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4473 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoName track in trackfilter using UTC, not local time.
robertlipe [Tue, 23 Jul 2013 17:03:58 +0000 (17:03 +0000)]
Name track in trackfilter using UTC, not local time.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4472 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix track filter to not "randomly" reorder points within a track when
robertlipe [Tue, 23 Jul 2013 06:35:53 +0000 (06:35 +0000)]
Fix track filter to not "randomly" reorder points within a track when
sub-second times are in play.

Addresses problem reported March 26 2010 (sigh) by Klaus Rheinwald.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4471 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoIntegrate mapsend.cc.patch, microseconds-6.patch from Gerhard.
robertlipe [Tue, 23 Jul 2013 02:18:26 +0000 (02:18 +0000)]
Integrate mapsend.cc.patch, microseconds-6.patch from Gerhard.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4470 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWrap more tests of implicit time_t == 0 inside isValid.
robertlipe [Tue, 23 Jul 2013 01:50:49 +0000 (01:50 +0000)]
Wrap more tests of implicit time_t == 0 inside isValid.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4469 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove jeeps/main.cc
robertlipe [Tue, 23 Jul 2013 01:07:47 +0000 (01:07 +0000)]
Remove jeeps/main.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4468 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGerhard gets QtCreator going for Windows, updates doc.
robertlipe [Tue, 23 Jul 2013 01:05:08 +0000 (01:05 +0000)]
Gerhard gets QtCreator going for Windows, updates doc.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4467 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoReconcile patch set with Gerhard. Remove special case convenience for msec();
robertlipe [Mon, 22 Jul 2013 20:21:52 +0000 (20:21 +0000)]
Reconcile patch set with Gerhard.  Remove special case convenience for msec();
we dont' do it for hours or days...Rounding in gopal. Fix botch in ggv.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4466 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove the final (?) vestigest of microseconds as a separate member.
robertlipe [Mon, 22 Jul 2013 04:44:06 +0000 (04:44 +0000)]
Remove the final (?) vestigest of microseconds as a separate member.

Gopal was a stupid bug within gopal itself.  creation_time was being written
three independent times per line (sigh) and once MS quit being a separate field,
it was no longer retained across writes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4465 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRethink time interpolation in arcdist in light of better time functions.
robertlipe [Mon, 22 Jul 2013 03:55:56 +0000 (03:55 +0000)]
Rethink time interpolation in arcdist in light of better time functions.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4464 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoLet mapsend test run in isolation. From Gerhard.
robertlipe [Sun, 21 Jul 2013 22:53:44 +0000 (22:53 +0000)]
Let mapsend test run in isolation.  From Gerhard.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4463 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGet rid of explicit usec refs in destinator, waypt, and unicsv.
robertlipe [Sat, 20 Jul 2013 02:41:38 +0000 (02:41 +0000)]
Get rid of explicit usec refs in destinator, waypt, and unicsv.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4462 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAnother joint effort with Gerhard. Quit pretending that we have microsecond
robertlipe [Sat, 20 Jul 2013 02:16:28 +0000 (02:16 +0000)]
Another joint effort with Gerhard.  Quit pretending that we have microsecond
support.  Be more honest and call it millisecond everywhere.  Remove more
explicit accesses to microseconds member.  Still not quite zero, but getting
closer and this is a good checkpoint.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4461 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGerhard and I swat a few more places, esp in KML writer, using implicit
robertlipe [Fri, 19 Jul 2013 22:53:28 +0000 (22:53 +0000)]
Gerhard and I swat a few more places, esp in KML writer, using implicit
time conversions for validity.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4460 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoProvide msecsTo in DateTime for Qt 4.6.
robertlipe [Fri, 19 Jul 2013 17:01:07 +0000 (17:01 +0000)]
Provide msecsTo in DateTime for Qt 4.6.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4459 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRevert bogon that slipped into testo.
robertlipe [Fri, 19 Jul 2013 04:26:06 +0000 (04:26 +0000)]
Revert bogon that slipped into testo.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4458 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGerhard & I work on route.cc:track_recompute to compute time difference
robertlipe [Fri, 19 Jul 2013 03:22:33 +0000 (03:22 +0000)]
Gerhard & I work on route.cc:track_recompute to compute time difference
(for computing speeds) in a way more natural with QDateTime, eliminating
funkiness when overloading to time_t.
Regneerate reference track files.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4457 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoimprove cross platform test matching by rounding instead of truncating latitude/longi...
tsteven4 [Fri, 19 Jul 2013 02:33:57 +0000 (02:33 +0000)]
improve cross platform test matching by rounding instead of truncating latitude/longitude.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4456 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoincrease precision in cetus speed calculation to minimize test mismatches.
tsteven4 [Fri, 19 Jul 2013 02:02:25 +0000 (02:02 +0000)]
increase precision in cetus speed calculation to minimize test mismatches.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4455 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDon't set time in Ozi if it's not valid.
robertlipe [Thu, 18 Jul 2013 17:06:18 +0000 (17:06 +0000)]
Don't set time in Ozi if it's not valid.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4454 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAvoid implicit time_t conversion in waypt_add that would result
robertlipe [Thu, 18 Jul 2013 03:10:00 +0000 (03:10 +0000)]
Avoid implicit time_t conversion in waypt_add that would result
in creation_time being zeroed.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4453 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoLet nmea, itracku round time on read. Regnerate reference/track/nmea.gpx.
robertlipe [Thu, 18 Jul 2013 02:16:35 +0000 (02:16 +0000)]
Let nmea, itracku round time on read.  Regnerate reference/track/nmea.gpx.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4452 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCap excess (fantasy) precision in gtrnctr. Regenerate reference files.
robertlipe [Thu, 18 Jul 2013 02:11:31 +0000 (02:11 +0000)]
Cap excess (fantasy) precision in gtrnctr.  Regenerate reference files.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4451 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDon't artificially restrict time precision of ozi reader based on time precision...
robertlipe [Wed, 17 Jul 2013 23:43:48 +0000 (23:43 +0000)]
Don't artificially restrict time precision of ozi reader based on time precision of ozi writer.  Fix ozi test reference to cope.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4450 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSqueegee out a few more explicit references to the microseconds member.
robertlipe [Wed, 17 Jul 2013 04:54:18 +0000 (04:54 +0000)]
Squeegee out a few more explicit references to the microseconds member.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4449 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGet rid of a few more explicit microsecond accesses.
robertlipe [Wed, 17 Jul 2013 03:20:24 +0000 (03:20 +0000)]
Get rid of a few more explicit microsecond accesses.
Add GPX test for wild and crazy times.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4448 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoClean up jtr, gopal, random, stmsdf explicit use of microseconds member.
robertlipe [Wed, 17 Jul 2013 02:46:35 +0000 (02:46 +0000)]
Clean up jtr, gopal, random, stmsdf explicit use of microseconds member.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4447 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRegenerate garmin GPX fit reference GPX files.
robertlipe [Wed, 17 Jul 2013 02:44:44 +0000 (02:44 +0000)]
Regenerate garmin GPX fit reference GPX files.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4446 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoUse doubles, not floats, internally for html, text, garmin_fit.
robertlipe [Wed, 17 Jul 2013 01:54:00 +0000 (01:54 +0000)]
Use doubles, not floats, internally for html, text, garmin_fit.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4445 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMake maggeo consistent about TZ when reading and writing dates. (This is
robertlipe [Wed, 17 Jul 2013 01:53:12 +0000 (01:53 +0000)]
Make maggeo consistent about TZ when reading and writing dates.  (This is
still grubby code, but it's hardly strategic...)

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4444 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRound fractional time when reading XML beyond milliseoconds.
robertlipe [Wed, 17 Jul 2013 01:38:35 +0000 (01:38 +0000)]
Round fractional time when reading XML beyond milliseoconds.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4443 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCap gtrnctr writer for lat/lon at 7 digits, like Garmin does.
robertlipe [Wed, 17 Jul 2013 01:37:52 +0000 (01:37 +0000)]
Cap gtrnctr writer for lat/lon at 7 digits, like Garmin does.
Regenerate test files.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4442 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoModification of the round() workaround for MSVC, defining in defs.h instead of lowran...
robertlipe [Wed, 17 Jul 2013 01:30:52 +0000 (01:30 +0000)]
Modification of the round() workaround for MSVC, defining in defs.h instead of lowrance*.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4441 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove write-only variable in gpx.cc
robertlipe [Tue, 16 Jul 2013 23:14:56 +0000 (23:14 +0000)]
Remove write-only variable in gpx.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4440 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoImprove test for navicache reader. unicsv reference file has more data
robertlipe [Tue, 16 Jul 2013 02:49:04 +0000 (02:49 +0000)]
Improve test for navicache reader.  unicsv reference file has more data
than the gpsutil (which is about all we had Back In The Old Days)

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4439 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoExpat doc fixes.
robertlipe [Mon, 15 Jul 2013 22:55:13 +0000 (22:55 +0000)]
Expat doc fixes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4438 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoUpdate config.{guess,sub} from Automake 1.13.
robertlipe [Mon, 15 Jul 2013 16:47:32 +0000 (16:47 +0000)]
Update config.{guess,sub} from Automake 1.13.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4437 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix gpx test lameness.
robertlipe [Mon, 15 Jul 2013 16:39:56 +0000 (16:39 +0000)]
Fix gpx test lameness.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4436 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMore splitting of testo cases.
robertlipe [Mon, 15 Jul 2013 16:37:02 +0000 (16:37 +0000)]
More splitting of testo cases.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4435 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSplit a whole bunch of the testo suite into smaller files.
robertlipe [Mon, 15 Jul 2013 16:28:18 +0000 (16:28 +0000)]
Split a whole bunch of the testo suite into smaller files.
Someday, I'll make these parallelizabe...

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4434 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMore MSVC work.
robertlipe [Mon, 15 Jul 2013 16:07:10 +0000 (16:07 +0000)]
More MSVC work.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4433 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGerhard's MSVC battle continues.
robertlipe [Mon, 15 Jul 2013 02:05:25 +0000 (02:05 +0000)]
Gerhard's MSVC battle continues.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4432 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRename jeeps/gpsutil.cc->jeeps/jgpsutil.cc. No reasont to keep fighting both
robertlipe [Sun, 14 Jul 2013 21:07:22 +0000 (21:07 +0000)]
Rename jeeps/gpsutil.cc->jeeps/jgpsutil.cc.  No reasont to keep fighting both
MSVC and qMake over this.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4431 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRename, remove MSVC files per Gerhard.
robertlipe [Sun, 14 Jul 2013 20:52:20 +0000 (20:52 +0000)]
Rename, remove MSVC files per Gerhard.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4430 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMore from Gerhard:
robertlipe [Sun, 14 Jul 2013 20:41:58 +0000 (20:41 +0000)]
More from Gerhard:
* tpo.cc - use struct instead of parallel arrays
* MSVC update
* shapelib HAVE_CONFIG_H

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4429 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFrom Gerhard:
robertlipe [Fri, 12 Jul 2013 22:58:40 +0000 (22:58 +0000)]
From Gerhard:
* gtm.cc MSVC compiler limit
Converted "else if" structure to array with the following perl snippet, so not hand coded
 perl -ne 'BEGIN{$i=-1; $n=0} $t=0; if(/\bn\s*\<\s*(\d+)/){$n2=$1;} if(/indatum\s*=\s*(-?\d+).*\/\*\s*(.*)\*\//){$i=$1;$c=" : $2"; $t=1;}elsif(/\{\s*\}/){$i=-1;$c=""; $t=1;} if($t){print " ";while($n<$n2){print " $i,";$n++;}print " // < $n2$c\n"}' gtm.c.snippet
* QString toAscii() removed in Qt5.1
Replaced use of toAscii() with toLatin1() so Qt5.1 can be used with GPSBabel (commandline, GUI not tested)
Note that gtm.cc file contains "datum" patch too.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4428 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix leak in new geo reader.
robertlipe [Fri, 12 Jul 2013 22:14:12 +0000 (22:14 +0000)]
Fix leak in new geo reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4427 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoTurn on newer geo format reader.
robertlipe [Fri, 12 Jul 2013 22:08:44 +0000 (22:08 +0000)]
Turn on newer geo format reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4426 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agogeo.cc: let it build w/o expat.
robertlipe [Fri, 12 Jul 2013 21:57:34 +0000 (21:57 +0000)]
geo.cc: let it build w/o expat.
cet_util.cc: fixups for the XML_UNICODE case, needed for Windows.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4425 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove special handling of MSVC from types.h now that we can rely on a grown-up
robertlipe [Fri, 12 Jul 2013 21:55:23 +0000 (21:55 +0000)]
Remove special handling of MSVC from types.h now that we can rely on a grown-up
inttypes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4424 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSpeed GPX writer by 19% by removing implicit time_t conversion in a test
robertlipe [Fri, 12 Jul 2013 21:43:31 +0000 (21:43 +0000)]
Speed GPX writer by 19% by removing implicit time_t conversion in a test
that I'm not convinced matters anyway.  ('exported' seems really weird.)

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4423 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoUpdate mapsend to explictly use toLatin1() instead of toAscii.
robertlipe [Fri, 12 Jul 2013 17:26:25 +0000 (17:26 +0000)]
Update mapsend to explictly use toLatin1() instead of toAscii.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4422 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMSVC fixes/workarounds from Gerhard Olsson.
robertlipe [Fri, 12 Jul 2013 17:23:55 +0000 (17:23 +0000)]
MSVC fixes/workarounds from Gerhard Olsson.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4421 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWarning fix.
robertlipe [Fri, 12 Jul 2013 03:15:38 +0000 (03:15 +0000)]
Warning fix.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4420 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFrom Gerhard Olsson:
robertlipe [Fri, 12 Jul 2013 01:21:00 +0000 (01:21 +0000)]
From Gerhard Olsson:

Three parts. The second/third part is normally inactive in the code.

gtrnctr.c
Average Cadence in laps was handled as floats with one decimal but the xml format specifies char.
Some programs therefore failed to parse the generated xml
CadenceValue_t in http://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd

jeeps
Cadence is invalid if it is 255 in Garmin USB. This is handled for track points but not for lap data.

garmin.c
(inactive) function read_lap_as_track() was not updated to the new string handling

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4419 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoShave another 17% of read performance out on GPX read by eliminating a
robertlipe [Wed, 10 Jul 2013 04:47:02 +0000 (04:47 +0000)]
Shave another 17% of read performance out on GPX read by eliminating a
copy/converstion on each incoming tag.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4418 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMake GPX reader 9% faster just with a better hash.
robertlipe [Wed, 10 Jul 2013 03:29:40 +0000 (03:29 +0000)]
Make GPX reader 9% faster just with a better hash.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4417 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoPerformance improvements in geo reader
robertlipe [Wed, 10 Jul 2013 03:03:02 +0000 (03:03 +0000)]
Performance improvements in geo reader

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4416 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix problem in self-closing tags in GPX extensions, such as would be found in geocach...
robertlipe [Wed, 10 Jul 2013 00:14:34 +0000 (00:14 +0000)]
Fix problem in self-closing tags in GPX extensions, such as would be found in geocaches with no travel bugs

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4415 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix GPX stream writer to actually work like a stream writer and not double-
robertlipe [Tue, 9 Jul 2013 01:33:42 +0000 (01:33 +0000)]
Fix GPX stream writer to actually work like a stream writer and not double-
buffer the output in memory.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4414 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDon't potentitally double-quote icons in KML writer.
robertlipe [Mon, 8 Jul 2013 22:33:43 +0000 (22:33 +0000)]
Don't potentitally double-quote icons in KML writer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4413 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix several "obvious" memory leaks in various readers. Fallout from our
robertlipe@gmail.com [Mon, 8 Jul 2013 18:19:15 +0000 (18:19 +0000)]
Fix several "obvious" memory leaks in various readers.  Fallout from our
half-C/half-QString implementation at this time.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4412 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMem fix in gtrnctr for last change.
robertlipe [Mon, 8 Jul 2013 00:24:58 +0000 (00:24 +0000)]
Mem fix in gtrnctr for last change.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4411 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDeath to xml_fill_in_time with its weird interface. Replace with
robertlipe [Sun, 7 Jul 2013 23:56:36 +0000 (23:56 +0000)]
Death to xml_fill_in_time with its weird interface.  Replace with
PrettyPrinter in our DateTime except for coastexp which does its own
thing.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4410 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoTweak building doc for Fedora 19.
robertlipe [Sun, 7 Jul 2013 21:56:23 +0000 (21:56 +0000)]
Tweak building doc for Fedora 19.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4409 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoEnforce checks during configure time for working C++ compiler, Qt4.
robertlipe [Sun, 7 Jul 2013 21:50:02 +0000 (21:50 +0000)]
Enforce checks during configure time for working C++ compiler, Qt4.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4408 f51c46e8-681c-474f-0cfe-069cfd0219fb